<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">  
<head>  
<title>{{ get_app_inf key="siteName" }} - {{ $title }}</title>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />  
<!-- add your meta tags here -->  
  
<link href="css/my_layout.css" rel="stylesheet" type="text/css" />
<link href="css/screen/datadict.css" rel="stylesheet" type="text/css" />
<!--[if lte IE 7]>  
<link href="css/my_patches/patch_my_layout.css" rel="stylesheet" type="text/css" />  
<![endif]-->  

</head>  
<body style="background:#FFF"> 
          
          	<!-- begin: #div_datadict -->
          	<div id="div_datadict">

	          	{{ foreach from=$tables item=table }}
	          		<h1>{{ $table.table_name }}</h1>
	            	<table>
	            	<thead>
		            	<tr>
		            		<td>字段</td>
		            		<td>类型</td>
		            		<td>NULL</td>
		            		<td>默认值</td>
		            		<td>备注</td>
		            	</tr>
		            </thead>
		            <tbody>
					{{ foreach from=$table.fields item=value }}
	            	<tr>
	            		<td>{{ $value.name }}</td>
	            		<td>{{ $value.type }}</td>
	            		<td>{{ $value.null }}</td>
	            		<td>{{ $value.default }}</td>
	            		<td>{{ $value.remark }}</td>
	            	</tr>
					{{ /foreach }}
					</tbody>
	            	</table>
	            {{ /foreach }}

	      	</div>
	      	<!-- end: #div_datadict -->

</body>
</html>
